export interface CreateOrUpdateCaseRequestData {
  id?: string | undefined
  title: string
  title_en?: string
  cover_url?: string
  abstract: string
  abstract_en?: string
  tags_en?: string
  tags?: string
  content: string
  content_en?: string
  address: string
  address_en?: string
  publish_date?: string
}

export interface GetCaseRequestData {
  /** 当前页码 */
  page: number
  /** 查询条数 */
  size: number
}

export interface GetCaseDetailRequestData {
  /** 详情id */
  id: string
}

export interface GetCaseData {
  id: string
  title: string
  title_en?: string
  cover_url?: string
  abstract: string
  abstract_en?: string
  tags_en?: string
  tags?: string
  content: string
  content_en?: string
  address: string
  address_en?: string
  publish_date?: string
}
export type GetCaseResponeseDetailData = ApiResponseData<GetCaseData>

export type GetCaseResponseData = ApiResponseData<{
  list: GetCaseData[]
  total: number
  page: number
}>
